﻿body {
    font-family: Lucida Grande, Trebuchet MS;
    font-size: 13px;
    background-color: #e5e5e5;
}

input, button, select, textarea {
    font-size: 13px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 16px 0;
}

form#send-message {
    margin: 0;
}

.banner > * {
    float: left;
    margin-left: 10px;
}

.jabbrLogo {
    background-image: url('Content/images/logo32.png');
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
}

.banner > div {
    float: left;
    margin-top: 28px;
    margin-left: 10px;
}

.banner a {
    color: #fff;
    text-decoration: none;
}

#lobby-wrapper {
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    padding: 5px;
    bottom: 50px;
    background: #fff;
    overflow: auto;
}

#room-filter-form {
    display: none;
    margin: -4px 5px;
}

#room-filter-closed-area {
    margin: 0px 5px;
    font-size: 13px;
}

#preferences a, #room-preferences a {
    cursor: pointer;
}

#logo {
    margin-top: 10px;
    margin-left: 0px;
}

#topic-bar {
    position: absolute;
    top: 60px;
    left: 0;
    padding-top: 10px;
    width: 100%;
    height: 30px;
    -webkit-box-shadow: 0px 0px 2px 1px #888;
    -moz-box-shadow: 0px 0px 2px 1px #888;
    box-shadow: 0px 0px 2px 1px #888;
    background: #e5e5e5; /* Old browsers */
    background: -moz-linear-gradient(top, #e5e5e5 0%, #cccccc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e5e5e5 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e5e5e5 0%,#cccccc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e5e5e5 0%,#cccccc 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e5e5e5 0%,#cccccc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}

#chat-area {
    position: absolute;
    top: 45px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    min-height: 450px;
    z-index: -1;
}

.upload-button {
    display: inline-block;
    position: absolute;
    right: 305px;
    bottom: 10px;
    margin: 0 3px;
    padding: 5px;
    overflow: hidden;
}

    .upload-button input {
        cursor: pointer;
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        font-size: 70px;
        opacity: 0;
        filter: alpha(opacity=0);
    }

        .upload-button input[disabled] {
            cursor: inherit;
        }

#heading {
    background-color: #00103f;
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

    #heading h1 {
        margin-left: 5px;
        line-height: normal;
        font-size: 20px;
    }

.reload-message {
    display: none;
    text-align: center;
    margin-left: 0px;
    margin-top: 0px;
    padding-left: 0px;
    left: 0px;
    right: 236px;
    position: fixed;
    top: 101px;
    z-index: 1000;
    opacity: 0.85;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#messages-lobby {
    position: relative;
}

.messages {
    border: 1px solid #ccc;
    overflow: auto;
    margin-left: 0px;
    margin-top: 0px;
    padding-left: 0px;
    left: 0;
    right: 236px;
    position: absolute;
    top: 55px;
    bottom: 40px;
    background-color: #fff;
}

    .messages li {
        list-style-type: none;
        position: relative;
        margin: 0px;
    }

        .messages li.message {
            padding: 0px;
            border-left: 175px solid #f1f1f1; /* background color for left column (user info) */
        }

            .messages li.message.my-message {
                border-color: #E4ECF1;
                background: #f5f5f5;
            }

        .messages li img.gravatar {
            height: 16px;
            width: 16px;
            display: inline-block;
            float: left;
            margin: 0 2px;
        }

.message img {
    max-width: 300px;
    max-height: 250px;
}

.roomTopic {
    position: absolute;
    margin-left: 5px;
}

.users {
    font-size: small;
    position: absolute;
    top: 55px;
    right: 0;
    width: 235px;
    bottom: 50px;
    margin-top: 0px;
    overflow: auto;
    background: #FFFFFF;
    border: 1px solid #ccc;
}

#lobby-wrapper .nav-header {
    line-height: normal;
    font-size: 1.25em;
    font-weight: normal;
    margin: 25px 0 0 0;
}

    #lobby-wrapper .nav-header:first-child {
        margin: 10px 0 0 0;
    }

#lobby-wrapper hr {
    margin: 0;
}

#room-loading {
    display: none;
    margin: 10px 0;
    position: relative;
    top: 50px;
    z-index: 1000;
}

    #room-loading i {
        float: left;
        margin: 0 10px;
    }

    #room-loading h3 {
        font-weight: lighter;
    }

#lobby-private,
#lobby-other {
    display: none;
}

#userlist-lobby,
#userlist-lobby-owners {
    position: relative;
    margin: 0 5px;
    top: 10px;
    background: none;
}

    #userlist-lobby li {
        display: block;
    }

    #userlist-lobby-owners li {
        display: inline;
    }

        #userlist-lobby li.empty,
        #userlist-lobby-owners li.empty {
            color: #909090;
            display: inline-block;
            font-style: italic;
            margin-bottom: 10px;
            margin-left: 10px;
        }

        #userlist-lobby li:hover,
        #userlist-lobby-owners li:hover {
            background: none;
        }


    #userlist-lobby div.room-row {
        min-height: 30px;
        border-color: #EEEEEE;
        border-style: solid;
        border-width: 1px 0;
        margin: 5px 5px 0 -5px;
        padding-top: 5px;
        padding-left: 15px;
    }

    #userlist-lobby div:hover {
        background: #f1f1f1;
    }

#load-more-rooms-item {
    cursor: pointer;
    margin: 0 5px;
}

.load-more-rooms {
    min-height: 30px;
    border-color: #EEEEEE;
    border-style: solid;
    border-width: 1px 0;
    margin: 15px 5px 0 -5px;
    padding-top: 8px;
    padding-left: 15px;
    text-align: center;
}

    .load-more-rooms a {
        text-decoration: none;
        color: #999;
    }

    .load-more-rooms:hover {
        background: #f1f1f1;
    }

#userlist-lobby-owners li div.room-row {
    display: inline-block;
    width: 250px;
    margin: 10px 5px;
    padding: 5px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0px 0px 2px 1px #888;
    -moz-box-shadow: 0px 0px 2px 1px #888;
    box-shadow: 0px 0px 2px 1px #888;
}

    #userlist-lobby-owners li div.room-row:hover {
        border: rgba(82, 168, 236, 0.8);
        -webkit-box-shadow: 0px 0px 5px 1px rgba(82, 168, 236, 0.6);
        -moz-box-shadow: 0px 0px 5px 1px rgba(82, 168, 236, 0.6);
        box-shadow: 0px 0px 5px 1px rgba(82, 168, 236, 0.6);
        background: #fcfcfc;
    }

    #userlist-lobby-owners li div.room-row div {
        width: 100%;
        margin: 0;
    }


#userlist-lobby-owners span {
    float: left;
}

#userlist-lobby .name,
#userlist-lobby-owners .name {
    font-size: 1.25em;
    overflow: hidden;
    width: 215px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#userlist-lobby .count,
#userlist-lobby-owners .count {
    font-style: italic;
    color: #999;
    font-size: 0.85em;
}

#userlist-lobby .topic,
#userlist-lobby-owners .topic {
    font-size: 1em;
    overflow: hidden;
}

#userlist-lobby-owners .topic {
    width: 250px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#userlist-lobby .lock,
#userlist-lobby .readonly,
#userlist-lobby-owners .lock,
#userlist-lobby-owners .readonly {
    display: none;
}

#userlist-lobby .locked .lock,
#userlist-lobby .closed .readonly,
#userlist-lobby-owners .locked .lock,
#userlist-lobby-owners .closed .readonly {
    display: inline-block;
}

.users ul {
    margin-left: 0px;
    padding-left: 0px;
    margin-top: 0px;
}

.user .details .name-container {
    overflow: hidden;
    margin-left: 2px;
    height: 20px;
}

.user .gravatar {
    width: 16px;
    height: 16px;
    float: left;
    background-color: #C5C5C5;
}

.user .details .name-container .name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    float: left;
    padding-right: 2px;
    width: 135px;
}

.user .details.admin .name-container .name {
    width: 90px;
}

.user .details .name-container .admin {
    float: right;
    font-size: 11px;
    font-weight: bold;
    color: #999999;
    padding-right: 5px;
}

.users li {
    margin-left: 0;
    padding: 8px 6px;
    list-style: none;
}

    .users li:hover {
        background: #f1f1f1;
    }

    .users li.empty {
        color: #909090;
        font-style: italic;
    }

    .users li .name {
        vertical-align: middle;
        cursor: pointer;
    }

    .users li.room.closed .name {
        margin-right: 23px;
    }

    .users li.room.locked .name {
        margin-right: 20px;
    }

    .users li.room.closed.locked .name {
        margin-right: 43px;
    }

    .users li.typing {
        background-image: url('Content/images/typing.png');
        background-repeat: no-repeat;
        background-position: 5px 12px;
        background-size: 12px auto;
    }

    .users li.room.locked .lock {
        position: relative;
        width: 19px;
        height: 16px;
    }

    .users li.room.closed .readonly {
        position: relative;
        width: 19px;
        height: 16px;
    }

    .users li.room.closed.locked .readonly {
        margin-right: 20px;
    }

.user-status-container {
    width: 15px;
    float: left;
}

.user-status {
    -webkit-box-shadow: inset 0px 1px 0px 0px #caefab;
    -moz-box-shadow: inset 0px 1px 0px 0px #caefab;
    box-shadow: inset 0px 1px 0px 0px #caefab;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811) );
    background: -moz-linear-gradient( center top, #77d42a 5%, #5cb811 100% );
    background-color: #77d42a;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #268a16;
    display: inline-block;
    color: #306108;
    position: relative;
    padding: 4px;
}

li.user.typing .user-status {
    border: inherit;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: none;
    padding-left: 5px;
    padding-right: 5px;
}

.users .idle .user-status {
    -webkit-box-shadow: inset 0px 1px 0px 0px #fff6af;
    -moz-box-shadow: inset 0px 1px 0px 0px #fff6af;
    box-shadow: inset 0px 1px 0px 0px #fff6af;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23) );
    background: -moz-linear-gradient( center top, #ffec64 5%, #ffab23 100% );
    background-color: #ffec64;
    border: 1px solid #ffaa22;
}

.users .details {
    overflow: hidden;
}

.users .owner {
    vertical-align: middle;
}

.note {
    display: inline-block;
    vertical-align: middle;
}

    .note.afk {
        background: url(Content/images/stopwatch.png) no-repeat;
        height: 16px;
        width: 12px;
    }

    .note.message {
        background: url(Content/images/clippy.png) no-repeat;
        height: 16px;
        width: 6px;
        border-bottom: none;
    }

#tabs {
    padding: 0;
    margin: 30px 0px 0px 90px;
    z-index: 1000;
    height: 30px;
    position: relative;
    min-width: 120px;
}

    #tabs li {
        display: inline-block;
        padding: 0;
        margin: 0px 2px 0px 0px;
        height: 30px;
        border-bottom: 0px;
        position: relative;
        background: #164c85; /* Old browsers */
        background: -moz-linear-gradient(top, #164c85 0%, #103760 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#164c85), color-stop(100%,#103760)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #164c85 0%,#103760 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #164c85 0%,#103760 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #164c85 0%,#103760 100%); /* IE10+ */
        background: linear-gradient(to bottom, #164c85 0%,#103760 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#164c85', endColorstr='#103760',GradientType=0 ); /* IE6-9 */
        color: #f5f5f5;
        font-weight: bold;
        cursor: pointer;
    }

        #tabs li button {
            height: inherit;
            margin: 0;
            padding: 0 20px 0 0;
            border: none;
            outline: 0;
            background-color: transparent;
            color: inherit;
            cursor: inherit;
            font-weight: inherit;
        }

        #tabs li.current {
            color: #00103f;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#e5e5e5'); /* for IE */
            background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5)); /* for webkit browsers */
            background: -moz-linear-gradient(top, #f5f5f5, #e5e5e5); /* for firefox 3.6+ */
            background: -o-linear-gradient(top, #f5f5f5, #e5e5e5); /* for opera 11.10+ */
            background: linear-gradient(to bottom, #f5f5f5, #e5e5e5); /* for IE10 */
        }

        #tabs li .content {
            margin: 6px 10px 6px 10px;
        }

        #tabs li.locked .content {
            margin: 6px 10px 6px 27px;
        }

        #tabs li.closed .content {
            margin: 6px 10px 6px 27px;
        }

        #tabs li.closed.locked .content {
            margin: 6px 10px 6px 47px;
        }

        #tabs li .close {
            position: absolute;
            top: 5px;
            right: 0;
            width: 16px;
            height: 16px;
        }

        #tabs li.locked .lock {
            position: absolute;
            top: 5px;
            margin-left: 5px;
        }

        #tabs li.closed .readonly {
            position: absolute;
            top: 5px;
            margin-left: 5px;
        }

        #tabs li.closed.locked .readonly {
            margin-left: 22px;
        }

        #tabs li:hover {
            background-color: #e5e5e5;
            color: #c5c5c5;
        }

        #tabs li.current:hover {
            background-color: #e5e5e5;
            color: #00103f;
        }

li.room {
    cursor: pointer;
}

    li.room:hover {
        background-color: #f5f5f5;
    }

#tabs li.lobby {
    background-color: #00103f;
    color: #fff;
    padding-right: 0;
}

    #tabs li.lobby button {
        padding-right: 0;
        margin-right: 10px;
    }

    #tabs li.lobby.current {
        background-color: #00103f;
        color: #000;
    }

#send-message {
    position: absolute;
    bottom: 0px;
    height: 40px;
    left: 5px;
    right: 235px;
}

#message-box {
    position: absolute;
    left: 0;
    right: 122px;
    padding: 0;
    margin: 0;
}

#new-message {
    font-size: 13px;
    border: 1px solid #ccc;
    width: 100%;
    height: 20px;
    resize: none;
    overflow: auto;
}

#send {
    padding: 4px;
    position: absolute;
    right: 0;
    width: 70px;
}

#enable-disable-toast {
    cursor: pointer;
    display: block;
    position: absolute;
    bottom: 35px;
    height: 20px;
    padding: 5px;
    left: 71%;
}

li.error {
    padding: 5px;
    background-color: #fddfde;
    border-bottom: 1px solid #fbc7c6;
}

.pm {
    color: Red;
    padding: 5px;
}

.broadcast {
    color: #c09853;
    padding: 5px;
    background-color: #fff6bd;
    font-weight: bold;
}

.welcome {
    color: #031531;
    padding: 5px;
    background-color: #c0e8ff;
    font-weight: bold;
}

.action {
    color: #9c009c;
    border-bottom: 1px solid #eee;
    padding: 5px;
}

    .action .content, .pm .content, .error .content, .broadcast .content {
        margin-right: 95px;
    }

    .action a.info {
        color: #9c009c;
        font-style: italic;
        text-decoration: none;
    }

        .action a.info:visited {
            color: inherit;
        }

.postedNotification {
    border-bottom: 1px solid #eee;
    padding: 5px;
}

    .postedNotification .content {
        margin-right: 95px;
    }

    .postedNotification img {
        width: 16px;
        height: 16px;
        margin-top: -5px;
    }

.notification {
    color: #bbb;
    border-bottom: 1px solid #eee;
    padding: 5px;
}

    .notification .content, .pm .content, .error .content, .broadcast .content {
        margin-right: 95px;
    }

    .notification a.info {
        color: #bbb;
        font-style: italic;
        text-decoration: none;
    }

        .notification a.info:visited {
            color: inherit;
        }

    .notification .emoji20 {
        opacity: 0.4;
    }

.notifications,
.user-profile,
.administration {
    background: #fff;
}

.notifications-title,
.administration-title {
    font-size: 2em;
}

.notifications .tabbable {
    height: 100%;
}

.notification-item {
    background: #fcfcfc;
}

    .notification-item .js-mark-as-read {
        margin: 14px;
        text-decoration: none;
    }

        .notification-item .js-mark-as-read:hover {
            color: #00103f;
        }

    .notification-item blockquote small {
        padding-bottom: 5px;
    }

#notifications-pager .pager ul {
    margin: 0 0 10px 0;
}

#notifications-pager .pager a {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    color: #00103f;
    padding: 0px 6px;
}

#notifications-pager .pager .disabled > a, #notifications-pager .pager .disabled > a:hover {
    color: #999;
}

#no-notifications {
    text-align: center;
    font-size: 1.25em;
}

#notification-unread-count.badge {
    display: none;
    position: absolute;
    right: 1px;
    top: 0px;
    font-size: 0.55em;
    padding: 0 0;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.message {
    border-bottom: 1px solid #eee;
}

    .message.continue {
        border-bottom: 1px solid #f1f1f1;
    }

    .message .left {
        float: left;
        width: 170px; /* width should exclude padding */
        padding: 5px;
        margin-left: -175px;
    }

        .message .left .name {
            font-weight: bold;
            cursor: pointer;
            overflow: hidden;
            max-width: 140px;
            white-space: nowrap;
            text-overflow: ellipsis;
            float: left;
        }

    .message.loading .left .state,
    .message.failed .left .state {
        width: 20px;
        height: 20px;
        float: right;
        background-repeat: no-repeat;
        margin-right: 5px;
    }

    .message.failed .left .state {
        background-image: url('');
    }

    .message.loading .left .state {
        background-image: url('');
    }

    .message .middle {
        margin-right: 95px;
        padding: 5px;
        word-wrap: break-word;
    }

        .message .middle.first:before {
            content: "";
            position: absolute;
            left: -5px;
            top: 8px;
            width: 8px;
            height: 8px;
            background: inherit;
            background-color: white;
            border-bottom: inherit;
            border-left: inherit;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
        }

    .message.my-message .middle.first:before {
        content: "";
        position: absolute;
        left: -5px;
        top: 8px;
        width: 8px;
        height: 8px;
        background: inherit;
        background-color: #f5f5f5;
        border-bottom: inherit;
        border-left: inherit;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

.messages li .right {
    position: absolute;
    padding: 5px;
    top: 0px;
    right: 0px;
    width: 85px;
}

    .messages li .right .time {
        color: #bbb;
    }

.messages li.welcome .right .time {
    color: #666;
    font-weight: normal;
}

.highlight {
    background-color: #fff6bd;
}

.list-header {
    padding: 3px 5px;
    color: #c5c5c5;
    border-bottom: 1px solid #eee;
}

.list-item {
    padding: 5px;
    padding-left: 10px;
    border-bottom: 1px solid #f1f1f1;
}


.list-header .content {
    font-size: 0.9em;
}

.list-item .right {
    /* hide time for list items */
    display: none;
}

.message-separator {
    height: 2px;
    background-color: #88b7d6;
}

/* This stuff is to support TweetContentProvider, but should be extracted out if other content providers need custom CSS */

.tweet {
    margin-left: 30px;
    margin-right: 10px;
    border: 1px solid #ccc;
    padding: 6px;
    min-height: 48px;
}

    .tweet p {
        margin: 0px;
        padding: 0px;
    }

    .tweet time {
        font-size: .8em;
    }

    .tweet img {
        float: left;
        margin-right: 5px;
    }

    .tweet .user {
        margin-bottom: 5px;
    }

    .tweet .name {
        font-weight: bold;
        font-size: 15px;
    }

/* End TweetContentProvider CSS */

.captureDocumentWrite_collapsible h3, h3.collapsible_title {
    color: #1c94c4;
    font-size: smaller;
    padding: 5px;
    margin-bottom: 0px;
    border: 1px solid #CCCCCC;
    background-color: rgb(238,238,238);
    cursor: pointer;
}

.collapsible_box {
    border: 1px solid #DDD;
    padding: 5px;
}

    .collapsible_box img, .collapsible_box embed {
        max-width: 100%;
    }

pre.multiline {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    width: 99%;
}

/* CLEAR FIX */
.clearfix:after {
    clear: both;
    display: block;
    content: " ";
    height: 0px;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

/* Hide these rules from IE-mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

li.clearfix {
    display: list-item;
}

/* CSS for Popout Content Providers */
.collapsible_wrapper.ui-draggable {
    width: 800px;
    background-color: #fff;
    position: absolute;
}

    .collapsible_wrapper.ui-draggable h3 {
        margin-top: 0px;
    }

.flag-container {
    position: relative;
    float: right;
    margin-top: 4px;
}

.flag {
    width: 16px;
    height: 11px;
    margin-left: auto;
    background: url('Content/images/flags.png') no-repeat;
}

    .flag.flag-ad {
        background-position: -16px 0;
    }

    .flag.flag-ae {
        background-position: -32px 0;
    }

    .flag.flag-af {
        background-position: -48px 0;
    }

    .flag.flag-ag {
        background-position: -64px 0;
    }

    .flag.flag-ai {
        background-position: -80px 0;
    }

    .flag.flag-al {
        background-position: -96px 0;
    }

    .flag.flag-am {
        background-position: -112px 0;
    }

    .flag.flag-an {
        background-position: -128px 0;
    }

    .flag.flag-ao {
        background-position: -144px 0;
    }

    .flag.flag-ar {
        background-position: -160px 0;
    }

    .flag.flag-as {
        background-position: -176px 0;
    }

    .flag.flag-at {
        background-position: -192px 0;
    }

    .flag.flag-au {
        background-position: -208px 0;
    }

    .flag.flag-aw {
        background-position: -224px 0;
    }

    .flag.flag-az {
        background-position: -240px 0;
    }

    .flag.flag-ba {
        background-position: 0 -11px;
    }

    .flag.flag-bb {
        background-position: -16px -11px;
    }

    .flag.flag-bd {
        background-position: -32px -11px;
    }

    .flag.flag-be {
        background-position: -48px -11px;
    }

    .flag.flag-bf {
        background-position: -64px -11px;
    }

    .flag.flag-bg {
        background-position: -80px -11px;
    }

    .flag.flag-bh {
        background-position: -96px -11px;
    }

    .flag.flag-bi {
        background-position: -112px -11px;
    }

    .flag.flag-bj {
        background-position: -128px -11px;
    }

    .flag.flag-bm {
        background-position: -144px -11px;
    }

    .flag.flag-bn {
        background-position: -160px -11px;
    }

    .flag.flag-bo {
        background-position: -176px -11px;
    }

    .flag.flag-br {
        background-position: -192px -11px;
    }

    .flag.flag-bs {
        background-position: -208px -11px;
    }

    .flag.flag-bt {
        background-position: -224px -11px;
    }

    .flag.flag-bv {
        background-position: -240px -11px;
    }

    .flag.flag-bw {
        background-position: 0 -22px;
    }

    .flag.flag-by {
        background-position: -16px -22px;
    }

    .flag.flag-bz {
        background-position: -32px -22px;
    }

    .flag.flag-ca {
        background-position: -48px -22px;
    }

    .flag.flag-catalonia {
        background-position: -64px -22px;
    }

    .flag.flag-cd {
        background-position: -80px -22px;
    }

    .flag.flag-cf {
        background-position: -96px -22px;
    }

    .flag.flag-cg {
        background-position: -112px -22px;
    }

    .flag.flag-ch {
        background-position: -128px -22px;
        width: 12px;
    }

    .flag.flag-ci {
        background-position: -144px -22px;
    }

    .flag.flag-ck {
        background-position: -160px -22px;
    }

    .flag.flag-cl {
        background-position: -176px -22px;
    }

    .flag.flag-cm {
        background-position: -192px -22px;
    }

    .flag.flag-cn {
        background-position: -208px -22px;
    }

    .flag.flag-co {
        background-position: -224px -22px;
    }

    .flag.flag-cr {
        background-position: -240px -22px;
    }

    .flag.flag-cu {
        background-position: 0 -33px;
    }

    .flag.flag-cv {
        background-position: -16px -33px;
    }

    .flag.flag-cy {
        background-position: -32px -33px;
    }

    .flag.flag-cz {
        background-position: -48px -33px;
    }

    .flag.flag-de {
        background-position: -64px -33px;
    }

    .flag.flag-dj {
        background-position: -80px -33px;
    }

    .flag.flag-dk {
        background-position: -96px -33px;
    }

    .flag.flag-dm {
        background-position: -112px -33px;
    }

    .flag.flag-do {
        background-position: -128px -33px;
    }

    .flag.flag-dz {
        background-position: -144px -33px;
    }

    .flag.flag-ec {
        background-position: -160px -33px;
    }

    .flag.flag-ee {
        background-position: -176px -33px;
    }

    .flag.flag-eg {
        background-position: -192px -33px;
    }

    .flag.flag-eh {
        background-position: -208px -33px;
    }

    .flag.flag-g1 {
        background-position: -224px -33px;
    }

    .flag.flag-er {
        background-position: -240px -33px;
    }

    .flag.flag-es {
        background-position: 0 -44px;
    }

    .flag.flag-et {
        background-position: -16px -44px;
    }

    .flag.flag-eu {
        background-position: -32px -44px;
    }

    .flag.flag-fi {
        background-position: -48px -44px;
    }

    .flag.flag-fj {
        background-position: -64px -44px;
    }

    .flag.flag-fk {
        background-position: -80px -44px;
    }

    .flag.flag-fm {
        background-position: -96px -44px;
    }

    .flag.flag-fo {
        background-position: -112px -44px;
    }

    .flag.flag-fr {
        background-position: -128px -44px;
    }

    .flag.flag-ga {
        background-position: -144px -44px;
    }

    .flag.flag-gb {
        background-position: -160px -44px;
    }

    .flag.flag-gd {
        background-position: -176px -44px;
    }

    .flag.flag-ge {
        background-position: -192px -44px;
    }

    .flag.flag-gf {
        background-position: -208px -44px;
    }

    .flag.flag-gg {
        background-position: -224px -44px;
    }

    .flag.flag-gh {
        background-position: -240px -44px;
    }

    .flag.flag-gi {
        background-position: 0 -55px;
    }

    .flag.flag-gl {
        background-position: -16px -55px;
    }

    .flag.flag-gm {
        background-position: -32px -55px;
    }

    .flag.flag-gn {
        background-position: -48px -55px;
    }

    .flag.flag-gp {
        background-position: -64px -55px;
    }

    .flag.flag-gq {
        background-position: -80px -55px;
    }

    .flag.flag-gr {
        background-position: -96px -55px;
    }

    .flag.flag-gs {
        background-position: -112px -55px;
    }

    .flag.flag-gt {
        background-position: -128px -55px;
    }

    .flag.flag-gu {
        background-position: -144px -55px;
    }

    .flag.flag-gw {
        background-position: -160px -55px;
    }

    .flag.flag-gy {
        background-position: -176px -55px;
    }

    .flag.flag-hk {
        background-position: -192px -55px;
    }

    .flag.flag-hm {
        background-position: -208px -55px;
    }

    .flag.flag-hn {
        background-position: -224px -55px;
    }

    .flag.flag-hr {
        background-position: -240px -55px;
    }

    .flag.flag-ht {
        background-position: 0 -66px;
    }

    .flag.flag-hu {
        background-position: -16px -66px;
    }

    .flag.flag-id {
        background-position: -32px -66px;
    }

    .flag.flag-ie {
        background-position: -48px -66px;
    }

    .flag.flag-il {
        background-position: -64px -66px;
    }

    .flag.flag-im {
        background-position: -80px -66px;
    }

    .flag.flag-in {
        background-position: -96px -66px;
    }

    .flag.flag-io {
        background-position: -112px -66px;
    }

    .flag.flag-iq {
        background-position: -128px -66px;
    }

    .flag.flag-ir {
        background-position: -144px -66px;
    }

    .flag.flag-is {
        background-position: -160px -66px;
    }

    .flag.flag-it {
        background-position: -176px -66px;
    }

    .flag.flag-je {
        background-position: -192px -66px;
    }

    .flag.flag-jm {
        background-position: -208px -66px;
    }

    .flag.flag-jo {
        background-position: -224px -66px;
    }

    .flag.flag-jp {
        background-position: -240px -66px;
    }

    .flag.flag-ke {
        background-position: 0 -77px;
    }

    .flag.flag-kg {
        background-position: -16px -77px;
    }

    .flag.flag-kh {
        background-position: -32px -77px;
    }

    .flag.flag-ki {
        background-position: -48px -77px;
    }

    .flag.flag-km {
        background-position: -64px -77px;
    }

    .flag.flag-kn {
        background-position: -80px -77px;
    }

    .flag.flag-kp {
        background-position: -96px -77px;
    }

    .flag.flag-kr {
        background-position: -112px -77px;
    }

    .flag.flag-kw {
        background-position: -128px -77px;
    }

    .flag.flag-ky {
        background-position: -144px -77px;
    }

    .flag.flag-kz {
        background-position: -160px -77px;
    }

    .flag.flag-la {
        background-position: -176px -77px;
    }

    .flag.flag-lb {
        background-position: -192px -77px;
    }

    .flag.flag-lc {
        background-position: -208px -77px;
    }

    .flag.flag-li {
        background-position: -224px -77px;
    }

    .flag.flag-lk {
        background-position: -240px -77px;
    }

    .flag.flag-lr {
        background-position: 0 -88px;
    }

    .flag.flag-ls {
        background-position: -16px -88px;
    }

    .flag.flag-lt {
        background-position: -32px -88px;
    }

    .flag.flag-lu {
        background-position: -48px -88px;
    }

    .flag.flag-lv {
        background-position: -64px -88px;
    }

    .flag.flag-ly {
        background-position: -80px -88px;
    }

    .flag.flag-ma {
        background-position: -96px -88px;
    }

    .flag.flag-mc {
        background-position: -112px -88px;
    }

    .flag.flag-md {
        background-position: -128px -88px;
    }

    .flag.flag-me {
        background-position: -144px -88px;
    }

    .flag.flag-mg {
        background-position: -160px -88px;
    }

    .flag.flag-mh {
        background-position: -176px -88px;
    }

    .flag.flag-mk {
        background-position: -192px -88px;
    }

    .flag.flag-ml {
        background-position: -208px -88px;
    }

    .flag.flag-mm {
        background-position: -224px -88px;
    }

    .flag.flag-mn {
        background-position: -240px -88px;
    }

    .flag.flag-mo {
        background-position: 0 -99px;
    }

    .flag.flag-mp {
        background-position: -16px -99px;
    }

    .flag.flag-mq {
        background-position: -32px -99px;
    }

    .flag.flag-mr {
        background-position: -48px -99px;
    }

    .flag.flag-ms {
        background-position: -64px -99px;
    }

    .flag.flag-mt {
        background-position: -80px -99px;
    }

    .flag.flag-mu {
        background-position: -96px -99px;
    }

    .flag.flag-mv {
        background-position: -112px -99px;
    }

    .flag.flag-mw {
        background-position: -128px -99px;
    }

    .flag.flag-mx {
        background-position: -144px -99px;
    }

    .flag.flag-my {
        background-position: -160px -99px;
    }

    .flag.flag-mz {
        background-position: -176px -99px;
    }

    .flag.flag-na {
        background-position: -192px -99px;
    }

    .flag.flag-nc {
        background-position: -208px -99px;
    }

    .flag.flag-ne {
        background-position: -224px -99px;
    }

    .flag.flag-nf {
        background-position: -240px -99px;
    }

    .flag.flag-ng {
        background-position: 0 -110px;
    }

    .flag.flag-ni {
        background-position: -16px -110px;
    }

    .flag.flag-nl {
        background-position: -32px -110px;
    }

    .flag.flag-no {
        background-position: -48px -110px;
    }

    .flag.flag-np {
        background-position: -64px -110px;
        width: 8px;
    }

    .flag.flag-nr {
        background-position: -80px -110px;
    }

    .flag.flag-nu {
        background-position: -96px -110px;
    }

    .flag.flag-nz {
        background-position: -112px -110px;
    }

    .flag.flag-om {
        background-position: -128px -110px;
    }

    .flag.flag-pa {
        background-position: -144px -110px;
    }

    .flag.flag-pe {
        background-position: -160px -110px;
    }

    .flag.flag-pf {
        background-position: -176px -110px;
    }

    .flag.flag-pg {
        background-position: -192px -110px;
    }

    .flag.flag-ph {
        background-position: -208px -110px;
    }

    .flag.flag-pk {
        background-position: -224px -110px;
    }

    .flag.flag-pl {
        background-position: -240px -110px;
    }

    .flag.flag-pm {
        background-position: 0 -121px;
    }

    .flag.flag-pn {
        background-position: -16px -121px;
    }

    .flag.flag-pr {
        background-position: -32px -121px;
    }

    .flag.flag-ps {
        background-position: -48px -121px;
    }

    .flag.flag-pt {
        background-position: -64px -121px;
    }

    .flag.flag-pw {
        background-position: -80px -121px;
    }

    .flag.flag-py {
        background-position: -96px -121px;
    }

    .flag.flag-qa {
        background-position: -112px -121px;
    }

    .flag.flag-re {
        background-position: -128px -121px;
    }

    .flag.flag-ro {
        background-position: -144px -121px;
    }

    .flag.flag-rs {
        background-position: -160px -121px;
    }

    .flag.flag-ru {
        background-position: -176px -121px;
    }

    .flag.flag-rw {
        background-position: -192px -121px;
    }

    .flag.flag-sa {
        background-position: -208px -121px;
    }

    .flag.flag-sb {
        background-position: -224px -121px;
    }

    .flag.flag-sc {
        background-position: -240px -121px;
    }

    .flag.flag-g3 {
        background-position: 0 -132px;
    }

    .flag.flag-sd {
        background-position: -16px -132px;
    }

    .flag.flag-se {
        background-position: -32px -132px;
    }

    .flag.flag-sg {
        background-position: -48px -132px;
    }

    .flag.flag-sh {
        background-position: -64px -132px;
    }

    .flag.flag-si {
        background-position: -80px -132px;
    }

    .flag.flag-sk {
        background-position: -96px -132px;
    }

    .flag.flag-sl {
        background-position: -112px -132px;
    }

    .flag.flag-sm {
        background-position: -128px -132px;
    }

    .flag.flag-sn {
        background-position: -144px -132px;
    }

    .flag.flag-so {
        background-position: -160px -132px;
    }

    .flag.flag-sr {
        background-position: -176px -132px;
    }

    .flag.flag-ss {
        background-position: -192px -132px;
    }

    .flag.flag-st {
        background-position: -208px -132px;
    }

    .flag.flag-sv {
        background-position: -224px -132px;
    }

    .flag.flag-sy {
        background-position: -240px -132px;
    }

    .flag.flag-sz {
        background-position: 0 -143px;
    }

    .flag.flag-tc {
        background-position: -16px -143px;
    }

    .flag.flag-td {
        background-position: -32px -143px;
    }

    .flag.flag-tf {
        background-position: -48px -143px;
    }

    .flag.flag-tg {
        background-position: -64px -143px;
    }

    .flag.flag-th {
        background-position: -80px -143px;
    }

    .flag.flag-tj {
        background-position: -96px -143px;
    }

    .flag.flag-tk {
        background-position: -112px -143px;
    }

    .flag.flag-tl {
        background-position: -128px -143px;
    }

    .flag.flag-tm {
        background-position: -144px -143px;
    }

    .flag.flag-tn {
        background-position: -160px -143px;
    }

    .flag.flag-to {
        background-position: -176px -143px;
    }

    .flag.flag-tr {
        background-position: -192px -143px;
    }

    .flag.flag-tt {
        background-position: -208px -143px;
    }

    .flag.flag-tv {
        background-position: -224px -143px;
    }

    .flag.flag-tw {
        background-position: -240px -143px;
    }

    .flag.flag-tz {
        background-position: 0 -154px;
    }

    .flag.flag-ua {
        background-position: -16px -154px;
    }

    .flag.flag-ug {
        background-position: -32px -154px;
    }

    .flag.flag-um {
        background-position: -48px -154px;
    }

    .flag.flag-us {
        background-position: -64px -154px;
    }

    .flag.flag-uy {
        background-position: -80px -154px;
    }

    .flag.flag-uz {
        background-position: -96px -154px;
    }

    .flag.flag-va {
        background-position: -112px -154px;
    }

    .flag.flag-vc {
        background-position: -128px -154px;
    }

    .flag.flag-ve {
        background-position: -144px -154px;
    }

    .flag.flag-vg {
        background-position: -160px -154px;
    }

    .flag.flag-vi {
        background-position: -176px -154px;
    }

    .flag.flag-vn {
        background-position: -192px -154px;
    }

    .flag.flag-vu {
        background-position: -208px -154px;
    }

    .flag.flag-g2 {
        background-position: -224px -154px;
    }

    .flag.flag-wf {
        background-position: -240px -154px;
    }

    .flag.flag-ws {
        background-position: 0 -165px;
    }

    .flag.flag-ye {
        background-position: -16px -165px;
    }

    .flag.flag-yt {
        background-position: -32px -165px;
    }

    .flag.flag-za {
        background-position: -48px -165px;
    }

    .flag.flag-zm {
        background-position: -64px -165px;
    }

    .flag.flag-zw {
        background-position: -80px -165px;
    }

.gravatarProfile {
    margin-left: 30px;
    margin-right: 10px;
    border: 1px solid #ccc;
    padding: 6px;
    min-height: 80px;
}

    .gravatarProfile p {
        margin: 0px;
        padding: 0px;
    }

    .gravatarProfile time {
        font-size: .8em;
    }

    .gravatarProfile img {
        float: left;
        margin-right: 5px;
    }

    .gravatarProfile .user {
        margin-bottom: 5px;
    }

    .gravatarProfile .name {
        font-weight: bold;
        font-size: 15px;
    }

#releaseArea {
    padding: 10px 0;
}

#releaseTag {
    font-size: smaller;
    margin: 0;
}

    #releaseTag a {
        color: #1C94C4;
        text-decoration: none;
    }

        #releaseTag a:hover {
            color: #1C94C4;
            text-decoration: underline;
        }

#jabbr-help {
    height: 490px;
}

    #jabbr-help .modal-body {
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

.help-body {
    overflow: auto;
    margin: 0 0 0 10px;
    max-height: 400px;
}

.command-list {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 15px;
}

    .command-list > dd,
    .command-list > p {
        font-style: italic;
    }

    .command-list > dd {
        margin: 10px;
    }

.command {
    border: 1px solid #000;
    border-radius: 3px;
    -moz-border-radius: 3px; /* Firefox 3.6 and earlier */
    padding: 5px 10px;
    box-shadow: 2px 2px 2px #888888;
}

.command-name {
    border-color: #E5E5E5;
    background-color: #00103F;
    color: #E5E5E5;
}

.command-args {
    border-color: #00103F;
    background-color: #E5E5E5;
    color: #00103F;
}

.hide {
    display: none;
}

#login {
    background-color: #FFF;
    box-shadow: 0 0 10px #00103F;
    -moz-box-shadow: 0 0 10px #00103F;
    -webkit-box-shadow: 0 0 10px #00103F;
    margin: 100px auto;
    width: 500px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.login-header, .account-details-header {
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    background-color: #00103F;
    height: 50px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 20px;
    color: #FFFFFF;
}

    .login-header h1 {
        font-size: 20px;
    }

    .account-details .flag {
        position: absolute;
        margin: 4px 5px;
    }

.tab-content {
    padding-top: 5px;
}

.user-details img {
    height: 48px;
    margin-right: 10px;
    width: 48px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.user-details .name {
    font-size: 2em;
}

.subheader {
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 2px 0 rgba(0, 0, 0, .5);
    text-transform: uppercase;
    text-align: center;
    color: #00103F;
    margin: 0 0 0 0;
    padding-top: 15px;
    letter-spacing: 4px;
    font: normal 26px/1 Verdana, Helvetica;
    position: relative;
    width: 500px;
}

    .subheader:after, .subheader:before {
        background-color: #00103F;
        content: "";
        height: 1px;
        position: absolute;
        top: 30px;
        width: 120px;
    }

    .subheader:after {
        background-image: -webkit-gradient(linear, left top, right top, from(#00103F), to(#fff));
        background-image: -webkit-linear-gradient(left, #00103F, #fff);
        background-image: -moz-linear-gradient(left, #00103F, #fff);
        background-image: -ms-linear-gradient(left, #00103F, #fff);
        background-image: -o-linear-gradient(left, #00103F, #fff);
        background-image: linear-gradient(left, #00103F, #fff);
        right: 0;
    }

    .subheader:before {
        background-image: -webkit-gradient(linear, right top, left top, from(#00103F), to(#fff));
        background-image: -webkit-linear-gradient(right, #00103F, #fff);
        background-image: -moz-linear-gradient(right, #00103F, #fff);
        background-image: -ms-linear-gradient(right, #00103F, #fff);
        background-image: -o-linear-gradient(right, #00103F, #fff);
        background-image: linear-gradient(right, #00103F, #fff);
        left: 0;
    }

.login-body {
    border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.windows-auth,
.usernamepassword-auth,
.user-registration {
    margin: 20px -40px;
}

    .user-registration .validation-summary-errors {
        margin: 20px 200px;
    }

    .usernamepassword-auth .control-group {
        margin-left: 40px;
    }

    .usernamepassword-auth .validation-summary-errors {
        margin-left: 80px;
    }

.social-auth {
    margin: 20px 15px;
    padding: 0 20px;
}

.icon-twitter-logo {
    background-image: url('/Content/images/twitter_white.png');
    background-repeat: no-repeat;
    background-position: center left;
    height: 16px;
    width: 16px;
    margin: 3px 10px 0 -10px;
}

.icon-facebook-logo {
    background-image: url('/Content/images/facebook_white.png');
    background-repeat: no-repeat;
    background-position: center left;
    height: 16px;
    width: 16px;
    margin: 0 10px;
}

.icon-google-logo {
    background-image: url('/Content/images/google_white.png');
    background-repeat: no-repeat;
    background-position: center left;
    height: 16px;
    width: 16px;
    margin: 5px 10px 0 -10px;
}

.icon-link {
    background-image: url('/Content/images/link.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 24px 24px;
    height: 32px;
    width: 32px;
}

.icon-unlink {
    background-image: url('/Content/images/unlink.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 24px 24px;
    height: 32px;
    width: 32px;
    margin-left: 10px;
}

.btn-provider {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 17.5px;
    width: 400px;
    padding: 11px 0;
    margin-left: 20px;
}

.social-auth .btn-provider {
    margin-left: 15px;
}

.provider {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 17.5px;
    width: 400px;
    padding: 11px 0;
    margin-left: 20px;
    background-color: #00103f;
    text-align: center;
    line-height: 20px;
    cursor: default;
    border: 1px solid #00103f;
    display: inline-block;
    box-shadow: rgba(255, 255, 255, 0.2) 0 1px 0 inset, rgba(0, 0, 0, 0.0470588) 0 1px 2px;
    color: #f1f1f1;
    opacity: 0.25;
}

.btn-unlink {
    border: none;
    background: none;
}

.login-body .btn-provider {
    width: 220px;
    padding: 6px 0;
}

.login-body .usernamepassword-auth .form-horizontal .controls {
    margin-left: 10px;
}

.login-body .auth-divider {
    border-right: 1px solid #ccc;
}

.login-body .btn,
.account-details .btn,
.administration .btn {
    background-color: #00103F;
    background-image: none;
    text-shadow: none;
    color: #FFF;
}

    .login-body .btn:hover,
    .account-details .btn:hover,
    .administration .btn:hover {
        background-color: #164C85;
    }

.large-logo {
    background-image: url('/Content/images/logo64.png');
    background-size: 48px 48px;
    height: 48px;
    width: 48px;
}

h3.collapsible_title {
    line-height: normal;
    margin-top: 16px;
}

pre {
    color: #000000;
    display: block;
    padding: 0;
    font-size: 13px;
    line-height: normal;
    background-color: #FFFFFF;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.users > .userlist-header:first-child {
    margin: 0;
}

h3.userlist-header {
    padding: 3px 5px;
    margin: 16px 0 0 0;
    cursor: pointer;
    font-weight: normal;
}

.modal, .modal-header {
    line-height: normal;
}

    .modal-header h3 {
        font-size: 15px;
        line-height: normal;
        margin: 16px 0;
    }

    .modal-header .close {
        line-height: 18px;
    }

.account-details {
    background-color: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.account {
    margin: 10px 10px;
}

.form-horizontal .label-align-left {
    text-align: left;
}

.icon-logout {
    background-image: url('Content/images/logout.png');
    background-position: 0 0;
    background-size: 12px 16px;
    height: 16px;
    width: 12px;
    background-repeat: no-repeat;
}

#preferences .logout:hover .icon-logout {
    background-image: url('Content/images/logout-white.png');
    background-repeat: no-repeat;
}

.icon-sound {
    background-image: url('Content/images/sound-on.png');
    background-position: 0 0;
    background-size: 14px 14px;
    height: 14px;
    width: 14px;
    background-repeat: no-repeat;
}

#room-actions {
    margin-right: 10px;
    display: none;
}

#room-preferences .sound:hover .icon-sound {
    background-image: url('Content/images/sound-on-white.png');
    background-repeat: no-repeat;
}

#room-preferences .sound.off .icon-sound {
    background-image: url('Content/images/sound-off.png');
    background-repeat: no-repeat;
}

#room-preferences .sound.off:hover .icon-sound {
    background-image: url('Content/images/sound-off-white.png');
    background-repeat: no-repeat;
}

.icon-toast {
    background-image: url('Content/images/toast-on.png');
    background-position: 0 0;
    background-size: 10px 14px;
    height: 14px;
    width: 10px;
    margin-right: 8px;
    background-repeat: no-repeat;
}

#room-preferences .toast:hover .icon-toast {
    background-image: url('Content/images/toast-on-white.png');
    background-repeat: no-repeat;
}

#room-preferences .toast.off .icon-toast {
    background-image: url('Content/images/toast-off.png');
    background-repeat: no-repeat;
}

#room-preferences .toast.off:hover .icon-toast {
    background-image: url('Content/images/toast-off-white.png');
    background-repeat: no-repeat;
}

.icon-richness {
    background-image: url('Content/images/richness-on.png');
    background-position: 0 0;
    background-size: 14px 14px;
    height: 14px;
    width: 14px;
    background-repeat: no-repeat;
}

#room-preferences .richness:hover .icon-richness {
    background-image: url('Content/images/richness-on-white.png');
    background-repeat: no-repeat;
}

#room-preferences .richness.off .icon-richness {
    background-image: url('Content/images/richness-off.png');
    background-repeat: no-repeat;
}

#room-preferences .richness.off:hover .icon-richness {
    background-image: url('Content/images/richness-off-white.png');
    background-repeat: no-repeat;
}

#room-preferences .icon-download {
    background-position: 0 0;
    background-size: 10px 14px;
    height: 14px;
    width: 10px;
    margin-right: 8px;
    background-repeat: no-repeat;
}

#room-preferences .download:hover .icon-download {
    background-repeat: no-repeat;
}

.icon-help {
    background-image: url('Content/images/question-icon.png');
    background-position: 0 0;
    background-size: 10px 14px;
    height: 14px;
    width: 10px;
    margin-right: 8px;
    background-repeat: no-repeat;
}

#preferences .help:hover .icon-help {
    background-image: url('Content/images/question-icon-white.png');
    background-repeat: no-repeat;
}

.git-hub-issue .starting-comment .author {
    margin-bottom: 0;
    padding-bottom: 0;
}

.git-hub-issue .starting-comment h2,
.tweet h1, .tweet h2, .tweet h3, .tweet h4 {
    font-size: 13px;
    margin: 0;
    line-height: 13px;
}

.connection-status {
    float: left;
    position: relative;
    top: 17px;
}

.icon-connection-status {
    -webkit-box-shadow: inset 0px 1px 0px 0px #caefab;
    -moz-box-shadow: inset 0px 1px 0px 0px #caefab;
    box-shadow: inset 0px 1px 0px 0px #caefab;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811) );
    background: -moz-linear-gradient( center top, #77d42a 5%, #5cb811 100% );
    background-color: #77d42a;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #268a16;
    display: inline-block;
    color: #306108;
    padding: 6px;
}

.reconnecting .icon-connection-status {
    -webkit-box-shadow: inset 0px 1px 0px 0px #fff6af;
    -moz-box-shadow: inset 0px 1px 0px 0px #fff6af;
    box-shadow: inset 0px 1px 0px 0px #fff6af;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23) );
    background: -moz-linear-gradient( center top, #ffec64 5%, #ffab23 100% );
    background-color: #ffec64;
    border: 1px solid #ffaa22;
}

.disconnected .icon-connection-status {
    -webkit-box-shadow: inset 0px 1px 0px 0px #f29c93;
    -moz-box-shadow: inset 0px 1px 0px 0px #f29c93;
    box-shadow: inset 0px 1px 0px 0px #f29c93;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
    background: -moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
    background-color: #fe1a00;
    border: 1px solid #d83526;
}

#connection-info-popover .popover-title-icon {
    float: left;
    margin: 10px 5px;
}

#connection-info-popover .popover-title {
    font-weight: bold;
}

.popover-content {
    padding: 4px 14px;
    color: #333;
}

#connection-info-popover p {
    margin: 0;
}

#connection-state-changed-popover #popover-content-icon {
    float: left;
    margin: 12px 5px;
}

#connection-state-changed-popover .popover-content {
    margin: 0 15px;
}

.icon-white {
    color: white;
}

.idle-since {
    float: right;
    font-size: 11px;
    font-weight: bold;
    color: #ccc;
    padding-right: 5px;
}

#loadingRoomHistory {
    display: none;
    text-align: center;
    right: 236px;
    position: fixed;
    padding-right: 10px;
    top: 101px;
    z-index: 1000;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}


@media (max-width:900px) {
    #login {
        margin: inherit;
        width: inherit;
    }

    .windows-auth, .usernamepassword-auth, .user-registration {
        margin: auto 10px;
    }

        .user-registration .validation-summary-errors {
            margin: 20px 20px;
        }

        .usernamepassword-auth .control-group {
            margin: inherit;
        }

        .usernamepassword-auth .validation-summary-errors {
            margin: inherit;
        }

    .messages {
        right: 200px;
    }

        .messages li.message {
            border-left: 115px solid #f1f1f1;
        }

    .message .left {
        margin-left: -115px;
        width: 100px;
    }

        .message .left .name {
            width: 55px;
            max-width: 55px;
        }

    #send-message {
        right: 200px;
    }

    .upload-button {
        display: inline-block;
        position: absolute;
        right: 270px;
        bottom: 10px;
        margin: 0 3px;
        padding: 5px;
        overflow: hidden;
    }

    .users {
        width: 200px;
    }

    .user.idle .details.admin .name-container .name {
        width: 72px;
    }

    .user .details .name-container .name {
        width: 110px;
    }

    .user .details.admin .name-container .name {
        width: 95px;
    }
}


@media (max-width:700px) {
    .messages {
        right: 150px;
    }

        .messages li.message {
            border-left: 95px solid #f1f1f1;
        }

    .message .left {
        margin-left: -95px;
        width: 90px;
    }

        .message .left .name {
            width: 45px;
            max-width: 45px;
        }

    #send-message {
        right: 5px;
    }

    .upload-button {
        display: inline-block;
        position: absolute;
        right: 75px;
        bottom: 10px;
        margin: 0 3px;
        padding: 5px;
        overflow: hidden;
    }

    .user .details .name-container .admin {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 27px;
    }

    .users {
        width: 150px;
    }

    .user .details .name-container .name {
        width: 65px;
    }

    .user .details.admin .name-container .name {
        width: 55px;
    }
}

@media screen and (max-width:480px) {
    .messages {
        width: auto;
        right: 100px;
        left: 0px;
    }

        .messages li.message {
            border-left: 30px solid #f1f1f1;
        }

    .message .left {
        margin-left: -32px;
        width: 30px;
    }

        .message .left .name {
            display: none;
        }

    .message.loading .left .state,
    .message.failed .left .state {
        margin-top: 5px;
        margin-right: 8px;
    }

    .users {
        width: 100px;
        right: 0px;
        left: auto;
    }

        .users ul .users li.empty {
            font-size: 80%;
        }

        .users .details .name-container {
            width: 45px;
        }

    .user .details .name-container .name {
        width: 45px;
    }

    .user .details.admin .name-container .name {
        width: 45px;
    }

    .user .details .name-container .idle-since {
        float: left;
    }

    .user-status {
        margin: 0;
    }

    .flag-container {
        display: none;
    }

    #tabs {
        overflow: auto;
    }
}

#clipboard-upload-preview {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 300px;
}

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
  .close {
    line-height: 15px;
  }
}